﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Domain;

namespace WebMVC.Models
{
    public class OrderViewModel
    {
        public long Id { get; set; }
        public DateTime OrderDate { get; set; }
        public string Status { get; set; }
        public ShippingAddressViewModel ShippingAddress { get; set; }
    }

    public class ShippingAddressViewModel
    {
        public long Id { get; set; }
        public string Address { get; set; }
        public string Tel { get; set; }
        public string Mobile { get; set; }
        public string Email { get; set; }
        public string PostalCode { get; set; }
    }

    public class PackageViewModel
    {
        public long PackageId { get; set; }
        public InfoTemplate InfoData { get; set; }
        public long ProductId { get; set; }
        public string ProductType { get; set; }
        public long BackFaceId { get; set; }
        public int BaseTemplateId { get; set; }
        public Guid UserId { get; set; }
        public List<string> FinishingServiceTypes { get; set; }
        public int Quantity { set; get; }
        public string PrintMediaCode { get; set; }
        public string PrintMethodCode { get; set; }
        public decimal TotalPrice { get; set; }
        public DateTime Date { get; set; }
    }
}
